<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>修改首页导航 - bjyadmin</title>
    <link rel="stylesheet" href="__ADMIN_STATICS__/bootstrap/dist/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/animate.css/animate.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/font-awesome/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/simple-line-icons/css/simple-line-icons.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/bootstrap-editable/css/bootstrap-editable.min.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/font.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/app.css" type="text/css" />
</head>
<body>
<div class="wrapper-md">
    <div class="panel panel-default">
        <div class="panel-heading">
            <a href="{:U('Admin/Index/welcome')}"><i class="fa fa-home"></i>&nbsp;首页&nbsp;</a>&gt;&nbsp;
            <a href="{:U('Admin/HomeNav/index')}">首页导航列表</a>&nbsp;&gt;&nbsp;&nbsp;修改首页导航
        </div>
        <div class="table-responsive">
            <form class="form-horizontal" action="{:U('Admin/HomeNav/edit')}" method="post">
                <input type="hidden" name="id" value="{$data['id']}">
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group m-b-none m-l-none m-r-none">
                    <label class="col-sm-2 control-label" for="input-id-1">导航名</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="name" value="{$data['name']}" data-form-un="1470118834084.755">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group m-b-none m-l-none m-r-none">
                    <label class="col-sm-2 control-label">上级导航</label>
                    <div class="col-sm-6">
                        <select name="pid" class="form-control">
                            <option value="0">顶级导航</option>
                            <volist id="category" name="allCategory">
                                <option value="{$category.id}" <if condition="$data['pid'] == $category['id']">selected</if>>{$category['_name']}</option>
                            </volist>
                        </select>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group m-b-none m-l-none m-r-none">
                    <label class="col-sm-2 control-label">类型</label>
                    <div class="col-sm-6">
                        <select name="type" class="form-control">
                            <volist name="type" id="t">
                                <option value="{$t['value']}" <if condition="$data['type'] == $t['value']">selected</if>>{$t['name']}</option>
                            </volist>
                        </select>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group m-b-none m-l-none m-r-none">
                    <label class="col-sm-2 control-label" for="input-id-1">连接</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="mca" value="{$data['mca']}" data-form-un="1470118834084.755">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group m-b-none m-l-none m-r-none">
                    <label class="col-sm-2 control-label" for="input-id-1">排序</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="order_number" value="{$data['order_number']}" data-form-un="1470118834084.755">
                    </div>
                </div>
                 <div class="line line-dashed b-b line-lg pull-in"></div>                    
                <div class="form-group m-l-none m-r-none">  
                    <div class="col-sm-4 col-sm-offset-2">
                        <button type="submit" class="btn btn-primary">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
